@layout("/common/_container.html",{bg:"bg-white",js:["/assets/modular/system/user/school_edit.js"]}){
<form id="userForm" lay-filter="userForm" class="layui-form model-form">
    <input name="userId" type="hidden"/>
    <input name="schoolId" type="hidden"/>
    <div class="layui-form-item">
        <label class="layui-form-label">学校代码<span style="color: red;">*</span></label>
        <div class="layui-input-inline">
            <input name="schoolCode" id="schoolCode" type="text" class="layui-input"  lay-verify="required" disabled/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">学校名称<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input name="schoolName" placeholder="请输入学校名称" type="text"
                   class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item" id="area-picker">
        <div class="layui-form-label">地址</div>
        <div class="layui-input-inline" style="width: 200px;">
            <select name="schoolProvince" class="province-selector" lay-filter="province-1">
                <option value="">请选择省</option>
            </select>
        </div>
        <div class="layui-input-inline" style="width: 200px;">
            <select name="schoolCity" class="city-selector" lay-filter="city-1">
                <option value="">请选择市</option>
            </select>
        </div>
        <div class="layui-input-inline" style="width: 200px;">
            <select name="schoolCounty" class="county-selector" lay-filter="county-1">
                <option value="">请选择区</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item layui-form-text">
        <label class="layui-form-label">详细地址</label>
        <div class="layui-input-block">
            <textarea name="schoolAddress" placeholder="请输入详细地址" class="layui-textarea"></textarea>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">手机号<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input name="account" placeholder="请输入账号" type="text"
                   class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">负责人<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input name="name" placeholder="请输入负责人姓名" type="text"
                   class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">QQ邮箱<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input name="email" placeholder="请输入QQ邮箱" type="text"
                   class="layui-input" lay-verify="required|email" required />
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">报名人数<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input name="signUpNum" placeholder="请输入报名人数" type="text"
                   class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">收益占比<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input name="userPercentage" placeholder="请输入收益占比" type="text"
                   class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item text-right">
        <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">取消</button>
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>保存</button>
    </div>
</form>
@}
